package com.ruoyi.dormitory.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 看病记录对象 tb_medical_record
 *
 * @author ruoyi
 * @date 2023-12-28
 */
public class TbMedicalRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Excel(name = "主键")
    private String id;

    /** 学生id */
    @Excel(name = "学生id")
    private String studentId;

    /** 陪护教师 */
    @Excel(name = "陪护教师")
    private String teacherId;

    /** 就诊原因 */
    @Excel(name = "就诊原因")
    private String reason;

    /** 就诊医院 */
    @Excel(name = "就诊医院")
    private String nosocomium;

    /** 就诊科室 */
    @Excel(name = "就诊科室")
    private String administrativeOffice;

    /** 外出时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "外出时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date timeOut;

    /** 回校时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "回校时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date returnTime;

    /** 就诊费用 */
    private BigDecimal expense;

    /** 就诊结果 */
    private String result;

    /** 诊断用药 */
    private String diagnosticDrug;

    /** 其它情况 */
    private String otherCircumstances;

    /** 相关文件或图片 */
    private String fileOrPicture;

    // 学生名称
    private String studentName;

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setStudentId(String studentId)
    {
        this.studentId = studentId;
    }

    public String getStudentId()
    {
        return studentId;
    }
    public void setTeacherId(String teacherId)
    {
        this.teacherId = teacherId;
    }

    public String getTeacherId()
    {
        return teacherId;
    }
    public void setReason(String reason)
    {
        this.reason = reason;
    }

    public String getReason()
    {
        return reason;
    }
    public void setNosocomium(String nosocomium)
    {
        this.nosocomium = nosocomium;
    }

    public String getNosocomium()
    {
        return nosocomium;
    }
    public void setAdministrativeOffice(String administrativeOffice)
    {
        this.administrativeOffice = administrativeOffice;
    }

    public String getAdministrativeOffice()
    {
        return administrativeOffice;
    }
    public void setTimeOut(Date timeOut)
    {
        this.timeOut = timeOut;
    }

    public Date getTimeOut()
    {
        return timeOut;
    }
    public void setReturnTime(Date returnTime)
    {
        this.returnTime = returnTime;
    }

    public Date getReturnTime()
    {
        return returnTime;
    }
    public void setExpense(BigDecimal expense)
    {
        this.expense = expense;
    }

    public BigDecimal getExpense()
    {
        return expense;
    }
    public void setResult(String result)
    {
        this.result = result;
    }

    public String getResult()
    {
        return result;
    }
    public void setDiagnosticDrug(String diagnosticDrug)
    {
        this.diagnosticDrug = diagnosticDrug;
    }

    public String getDiagnosticDrug()
    {
        return diagnosticDrug;
    }
    public void setOtherCircumstances(String otherCircumstances)
    {
        this.otherCircumstances = otherCircumstances;
    }

    public String getOtherCircumstances()
    {
        return otherCircumstances;
    }
    public void setFileOrPicture(String fileOrPicture)
    {
        this.fileOrPicture = fileOrPicture;
    }

    public String getFileOrPicture()
    {
        return fileOrPicture;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("studentId", getStudentId())
            .append("teacherId", getTeacherId())
            .append("reason", getReason())
            .append("nosocomium", getNosocomium())
            .append("administrativeOffice", getAdministrativeOffice())
            .append("timeOut", getTimeOut())
            .append("returnTime", getReturnTime())
            .append("expense", getExpense())
            .append("result", getResult())
            .append("diagnosticDrug", getDiagnosticDrug())
            .append("otherCircumstances", getOtherCircumstances())
            .append("fileOrPicture", getFileOrPicture())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("studentName", getStudentName())
            .toString();
    }
}
